package com.yidu.t299.service;

import org.springframework.stereotype.Component;

/**
 * @author twj
 * @version 1.0.0
 */
@Component
public class DeptHystrixFallBackService implements DeptHystrixService {
    @Override
    public String deptInfo_Ok(Integer id) {
        return "--------------------特别提醒您，系统繁忙，请稍后重试！（解耦回退方法触发）-----------------------";
    }
    @Override
    public String deptInfo_Timeout(Integer id) {
        return "--------------------特别提醒您，系统繁忙，请稍后重试！（解耦回退方法触发）-----------------------";
    }
}
